package com.hongyue.dey04;

import java.util.TreeSet;

public class Deom {
    public static void main(String[] args) {
        TreeSet<Student> st = new TreeSet<>();
        st.add(new Student("aaa",12 ));
        st.add(new Student("bbbb", 21));
        st.add(new Student("bcc", 23));
        System.out.println("st = " + st);
    }
}
